<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Caffe: caffe::BlockingQueue&lt; T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Caffe
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecaffe.html">caffe</a></li><li class="navelem"><a class="el" href="classcaffe_1_1BlockingQueue.html">BlockingQueue</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classcaffe_1_1BlockingQueue-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">caffe::BlockingQueue&lt; T &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcaffe_1_1BlockingQueue_1_1sync.html">sync</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a44d2dc9d99dfa528daeff70f35293e72"><td class="memItemLeft" align="right" valign="top"><a id="a44d2dc9d99dfa528daeff70f35293e72"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>push</b> (const T &amp;t)</td></tr>
<tr class="separator:a44d2dc9d99dfa528daeff70f35293e72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9da66a1c4f5954f46e207ce3f41bd9b"><td class="memItemLeft" align="right" valign="top"><a id="aa9da66a1c4f5954f46e207ce3f41bd9b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>try_pop</b> (T *t)</td></tr>
<tr class="separator:aa9da66a1c4f5954f46e207ce3f41bd9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac49d1dc517a8d963508225750ce1e80d"><td class="memItemLeft" align="right" valign="top"><a id="ac49d1dc517a8d963508225750ce1e80d"></a>
T&#160;</td><td class="memItemRight" valign="bottom"><b>pop</b> (const string &amp;log_on_wait=&quot;&quot;)</td></tr>
<tr class="separator:ac49d1dc517a8d963508225750ce1e80d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad3abc02b80d1a544674ac9634fb4ebd"><td class="memItemLeft" align="right" valign="top"><a id="aad3abc02b80d1a544674ac9634fb4ebd"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>try_peek</b> (T *t)</td></tr>
<tr class="separator:aad3abc02b80d1a544674ac9634fb4ebd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e767426fc1deebc6bb4626c3e54964b"><td class="memItemLeft" align="right" valign="top"><a id="a7e767426fc1deebc6bb4626c3e54964b"></a>
T&#160;</td><td class="memItemRight" valign="bottom"><b>peek</b> ()</td></tr>
<tr class="separator:a7e767426fc1deebc6bb4626c3e54964b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ade416260b1150f234892be9f1557fb"><td class="memItemLeft" align="right" valign="top"><a id="a1ade416260b1150f234892be9f1557fb"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><b>size</b> () const</td></tr>
<tr class="separator:a1ade416260b1150f234892be9f1557fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:afbc6f67dfc1571625178b46807e09139"><td class="memItemLeft" align="right" valign="top"><a id="afbc6f67dfc1571625178b46807e09139"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>DISABLE_COPY_AND_ASSIGN</b> (<a class="el" href="classcaffe_1_1BlockingQueue.html">BlockingQueue</a>)</td></tr>
<tr class="separator:afbc6f67dfc1571625178b46807e09139"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a1e9edbd83dcf94ae3c4aeb7300ae6a5a"><td class="memItemLeft" align="right" valign="top"><a id="a1e9edbd83dcf94ae3c4aeb7300ae6a5a"></a>
std::queue&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>queue_</b></td></tr>
<tr class="separator:a1e9edbd83dcf94ae3c4aeb7300ae6a5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38023bc1eb798189b7c392d00630be9e"><td class="memItemLeft" align="right" valign="top"><a id="a38023bc1eb798189b7c392d00630be9e"></a>
shared_ptr&lt; <a class="el" href="classcaffe_1_1BlockingQueue_1_1sync.html">sync</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>sync_</b></td></tr>
<tr class="separator:a38023bc1eb798189b7c392d00630be9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>include/caffe/util/<a class="el" href="blocking__queue_8hpp_source.html">blocking_queue.hpp</a></li>
<li>src/caffe/util/blocking_queue.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Aug 3 2017 23:11:21 for Caffe by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
